<?php
/**
 * Pert PHP Library
 * Test
 * Page Class
 *
 * @author	Emre Hasegeli <hasegeli@gmail.com>
 * @license	GNU General Public License v3
 */

namespace Pert;

require '../Page.php';

Page::Get()->AddTitle('Pert PHP Library');

Page::Get()->AddTitle('General');

Page::Get()->AddTitle('Page');

if(!Page::Get()->HREF()->Parameter)
	Page::Get()->HREF()->Parameter = 1;

Page::Get()->Content()->Test = 'Test';

echo Page::Get()->HeaderHTML() . '
<form action="' . Page::Get()->HREF() . '"
		method="post" >';

$headerId = 1;

foreach(Page::Get()->TitleArray() AS $title)
	echo '
	<h' . $headerId . ' >' . $title . '
	</h' . $headerId++ . '>';

echo '
	<p >' . Page::Get()->Content()->Test. '
	</p>

	<p >
		<input type="submit"
				name="Submit"
				value="Submit" />

	</p>
</form>' . Page::Get()->FooterHTML();
